#include <stdio.h>
#include "SList.h"



int main()
{
    SLTNode *node1 = NULL;
    SLTNode *phead = node1;
    SLT_Pushback(&phead, 1);
    SLT_Pushback(&phead, 2);
    SLT_Pushback(&phead, 3);
    SLT_Print(phead);
    SLTNode *fInd_ret = SLT_Find(&phead, 2);
    SLT_Insert(&phead, 5, fInd_ret);
    SLT_Print(phead);
    fInd_ret = SLT_Find(&phead, 5);
    SLT_Insert(&phead, 6, fInd_ret);
    SLT_Print(phead);
    fInd_ret = SLT_Find(&phead, 6);
    SLT_InsertAfter(7, fInd_ret);
    SLT_Print(phead);
    fInd_ret = SLT_Find(&phead, 3);
    SLT_Erase(&phead, fInd_ret);
    SLT_Print(phead);
    SLT_Destory(&phead);
    return 0;
}



